package com.lzy.pattern.factory.abstract_factory;

/**
 * @ClassName: AmericanDessertFactory
 * @Description: TODO
 * @Author: LiuZy
 * @Date: 2022/4/13 20:35
 * @Version: 1.0
 */
public class AmericanDessertFactory implements DessertFactory{

    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new Matchamousse();
    }
}